package com.ruoyi.scene.service;

import com.ruoyi.scene.domain.SceneInspectionIssueRecording;
import com.ruoyi.scene.domain.vo.SceneInspectionIssueRecordingVo;
import com.ruoyi.scene.domain.bo.SceneInspectionIssueRecordingBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 现场巡查问题记录Service接口
 *
 * @author llb
 * @date 2024-10-16
 */
public interface ISceneInspectionIssueRecordingService {

    /**
     * 查询现场巡查问题记录
     */
    SceneInspectionIssueRecordingVo queryById(Long id);

    /**
     * 查询现场巡查问题记录列表
     */
    TableDataInfo<SceneInspectionIssueRecordingVo> queryPageList(SceneInspectionIssueRecordingBo bo, PageQuery pageQuery);

    /**
     * 查询现场巡查问题记录列表
     */
    List<SceneInspectionIssueRecordingVo> queryList(SceneInspectionIssueRecordingBo bo);

    /**
     * 新增现场巡查问题记录
     */
    Boolean insertByBo(SceneInspectionIssueRecordingBo bo);

    /**
     * 修改现场巡查问题记录
     */
    Boolean updateByBo(SceneInspectionIssueRecordingBo bo);

    /**
     * 校验并批量删除现场巡查问题记录信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
